package com.msg.beans;

import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;


public class PriceBean {


	public String getTicket_Level(){
		return Ticket_Level;
	}
	public void setTicket_Level(String ticket_Level){
		Ticket_Level=ticket_Level;
	}
	public String getTicket_Group(){
		return Ticket_Group;
	}
	public void setTicket_Group(String ticket_Group){
		Ticket_Group=ticket_Group;
	}
	
	public int getPrice(){
		return Price;
	}
	public void setPrice(int price){
		Price=price;
	}
	
	private String Ticket_Group,Ticket_Level;
	private int Price;
	

	
	public PriceBean(){}


	public JSONObject toJSONObject() {
		JSONObject json = new JSONObject();
		try {
			json.put("Ticket_Group", Ticket_Group);
			json.put("Ticket_Level", Ticket_Level);
			json.put("Price", Price);
			
		} catch (JSONException e) {
			e.printStackTrace();
		}
		return json;
	}
	@Override
	public String toString() {
		return "PriceBean [Ticket_Group=" + Ticket_Group + ", Ticket_Level="
				+ Ticket_Level + ", Price=" + Price + "]";
	}





	
}